// new Promise((resolve, reject) => {
//   reject(new Error('abc'));
// }).catch((err) => {
//   console.log('失败了！！', err);
// });
new Promise((resolve, reject) => {
  reject(new Error('abc'));
  // reject('a');
})
  .then(
    (a) => console.log(a, 1),
    (a) => console.log(a, '2')
  )
  .then(
    (a) => console.log(a, 'log3'),
    (a) => console.log(a, 'log4')
  )
  .catch((a) => {
    console.log(a, 'log5');
  });
